import httpRequest from '@/utils/httpRequest'
import constant from '../constant'

export function pageData (data) {
  return httpRequest({
    url: constant.DR + '/rule/groupCase/page',
    method: 'post',
    data: data
  })
}
export function listGroupCase (data) {
  return httpRequest({
    url: constant.DR + '/rule/groupCase/list',
    method: 'post',
    data: data
  })
}

export function getData (data) {
  return httpRequest({
    url: constant.DR + '/rule/groupCase/get',
    method: 'post',
    data: data
  })
}
export function saveData (data) {
  return httpRequest({
    url: constant.DR + '/rule/groupCase/save',
    method: 'post',
    data: data
  })
}
export function updateData (data) {
  return httpRequest({
    url: constant.DR + '/rule/groupCase/update',
    method: 'post',
    data: data
  })
}
export function getGroupMsgVos (data) {
  return httpRequest({
    url: constant.DR + '/rule/groupCase/getGroupMsgVos',
    method: 'post',
    data: data
  })
}
export function batchTest (data) {
  return httpRequest({
    url: constant.DR + '/rule/groupCase/batchTest',
    method: 'post',
    data: data
  })
}


